<?php

namespace app\api\validate;

use think\Validate;

class Auth extends Validate
{
    protected $rule = [
        ['types',         'require|number|in:1,2,3,4,5,6',   '选择有误|选择有误|选择有误'],
    ];

    protected $scene = [
        'detail'     => ['types'],
    ];
}
